package vn.edu.ptithcm.pim.service;

import vn.edu.ptithcm.pim.dom.Application;

import java.util.List;

import vn.edu.ptithcm.pim.dao.ApplicationDao;
@SuppressWarnings({ "rawtypes" })
public class ApplicationService {
	private ApplicationDao applicationDao;

	public ApplicationDao getApplicationDao() {
		return applicationDao;
	}

	public void setApplicationDao(ApplicationDao applicationDao) {
		this.applicationDao = applicationDao;
	}

	public void save(Application application) {
		applicationDao.save(application);
	}

	public void saveOrUpdate(Application application) {
		applicationDao.saveOrUpdate(application);
	}

	public void lock(Application application) {
		applicationDao.lock(application);
	}

	public void delete(Application application) {
		applicationDao.delete(application);
	}

	public Application merge(Application application) {
		return applicationDao.merge(application);
	}

	public Application findById(java.lang.Long id) {
		return applicationDao.findById(id);
	}

	public List findByExample(Application application) {
		return applicationDao.findByExample(application);
	}

	public List getAll() {
		return applicationDao.getAll();
	}
}
